import Vue from 'vue';
import Vuex from 'vuex';

// import {createPersistedState, createSharedMutations} from 'vuex-electron'

import app from './modules/app';
// import Counter from './modules/Counter'
import index from './modules/index';

import getters from './getters';

Vue.use(Vuex);

export default new Vuex.Store({
    modules: {
        app,
        // Counter,
        index
    },
    getters,
    // plugins: [
    //     createPersistedState(),
    //     createSharedMutations()
    // ],
    strict: process.env.NODE_ENV !== 'production'
});
